window: Use update_window_buttons to hide title on fullscreen
authorRob Bradford <rob@linux.intel.com>
Tue, 19 Mar 2013 19:40:30 +0000 (19:40 +0000)
committerRob Bradford <rob@linux.intel.com>
Tue, 19 Mar 2013 19:48:35 +0000 (19:48 +0000)
commit8cdbee7fd23ff0375e385ee74f13429fd6520706
tree17711106b3616b91b4ed4fbb14076e6baf00bf02
parent1be7f3dee93b0951204d147e1ab5f4cafe91b60f
window: Use update_window_buttons to hide title on fullscreen

The function update_window_buttons shows or hides the title header after it
has finished updating the visibility of the various buttons. Unfortunately
this
conflicted with the hiding of the title done when going fullscreen.

This solves the problem and fixes the rendering of fullscreen applications by
using update_window_buttons to control the visibility of the box in the
fullscreen case.
gtk/gtkwindow.c